package com.guodu.dao;

import java.util.List;

import com.guodu.entity.CliqueRed;
import com.guodu.entity.CliqueRedStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.CliqueRedQueryVo;

public interface CliqueRedDao {
	int findCount(CliqueRedQueryVo CliqueRedQueryVo,Units units,UserInfo userInfo);
	List<CliqueRed> findAll(CliqueRedQueryVo CliqueRedQueryVo,Units units,UserInfo userInfo,int pageSize,int curPage);
	List<CliqueRed> downLoad(CliqueRedQueryVo cliqueRedQueryVo,Units units,UserInfo userInfo);
	public void examinAll(CliqueRedQueryVo cliqueRedQueryVo,Units units,UserInfo userInfo);
	void save(CliqueRed cliqueRed);
    void examine(String ids, Long status);
    public void changeStatus(List<CliqueRedStatus> cliqueRedStatusList );
    
    void delByIds(String[] ids);
    
    public CliqueRed findById(String id);
    
    public void update(CliqueRed cliqueRed);
    
    public List<CliqueRedStatus> findStatus(String id);
    
    public void deleteById(String id);
}
